<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="shortcut icon" href="${path }/resource/images/favicon.ico">
<!--[if lt IE 9]>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/html5.js"></script>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/respond.min.js"></script>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/PIE_IE678.js"></script>
<![endif]-->


<!-- 本框架基本脚本和样式 -->
<link href="${path }/resource/plugin/hui/skin/default/skin.css"
	rel="stylesheet" type="text/css" id="skin" />
<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/EXBase.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>世界杯</title>

<link href="${path }/resource/css/index.css" rel="stylesheet"
	type="text/css" />
</head>
<body>



	<div class="bgbox"></div>
	<header class="navbar-wrapper">
		<div class="navbar navbar-black">
			<div class="container cl">
				<a class="logo navbar-logo f-l mr-10 hidden-xs"
					href="/aboutHui.shtml">激情世界杯 FIFA World Cup</a>
				<nav class="nav navbar-nav nav-collapse" role="navigation"
					id="Hui-navbar">
					<ul class="cl">
						<li class="current"><a href="${path}/show/showList">赛程赛事</a></li>
						<li><a href="${path}/show/sortInfo">球队</a></li>
						<li><a href="${path}/common/redirect/tp">精彩图片</a></li>
					</ul>
				</nav>
				<nav class="navbar-userbar hidden-xs"></nav>
			</div>
		</div>
	</header>
	<div class="panel2">
		<div class="panel panel-danger">
			<div class="panel-header">小组赛</div>
			<div class="panel-body">
				<table class="table table-border">
					<tr class=" text-c">
						<th>组名</th>
						<th>主队</th>
						<th></th>
						<th>客队</th>
						<th>比赛时间</th>
					</tr>
					<c:forEach items="${list10 }" var="item">
						<tr class=" text-c">
							<td>${item.sortName}</td>
							<td><img width="100" height="100" src="${item.homePicUrl}"> ${item.homeTeam}
								<h3>${item.homeScore}</h3></td> 
							<td>VS</td>
							<td> ${item.visitingTeam} <img width="100" height="100" src="${item.visitingPicUrl}">
								<h3>${item.visitingScore}</h3>
							</td>
							<td><fmt:formatDate value="${item.createTime}"
									pattern="yyyy-MM-dd HH:mm" /></td>
						</tr>
					</c:forEach>
				</table>
			</div>
		</div>
	</div>
	
	<div class="panel2">
		<div class="panel panel-danger">
			<div class="panel-header">8争夺赛</div>
			<div class="panel-body">
				<table class="table table-border">
					<tr class=" text-c">
						<th>组名</th>
						<th>主队</th>
						<th></th>
						<th>客队</th>
						<th>比赛时间</th>
					</tr>
					<c:forEach items="${list8 }" var="item">

						<tr class=" text-c">
							<td>${item.sortName}</td>
							<td><img width="100" height="100" src="${item.homePicUrl}"> ${item.homeTeam}
								<h3>${item.homeScore}</h3></td>
							<td>VS</td>
							<td> ${item.visitingTeam} <img width="100" height="100" src="${item.visitingPicUrl}">
								<h3>${item.visitingScore}</h3>
							</td>
							<td><fmt:formatDate value="${item.createTime}"
									pattern="yyyy-MM-dd HH:mm" /></td>
						</tr>
					</c:forEach>
				</table>
			</div>
		</div>
	</div>
	
	
	<div class="panel2">
		<div class="panel panel-danger">
			<div class="panel-header">4强争夺赛</div>
			<div class="panel-body">
				<table class="table table-border">
					<tr class=" text-c">
						<th>组名</th>
						<th>主队</th>
						<th></th>
						<th>客队</th>
						<th>比赛时间</th>
					</tr>
					<c:forEach items="${list4 }" var="item">

						<tr class=" text-c">
							<td>${item.sortName}</td>
							<td><img width="100" height="100" src="${item.homePicUrl}"> ${item.homeTeam}
								<h3>${item.homeScore}</h3></td>
							<td>VS</td>
							<td> ${item.visitingTeam} <img width="100" height="100" src="${item.visitingPicUrl}">
								<h3>${item.visitingScore}</h3>
							</td>
							<td><fmt:formatDate value="${item.createTime}"
									pattern="yyyy-MM-dd HH:mm" /></td>
						</tr>
					</c:forEach>
				</table>
			</div>
		</div>
	</div>
	
	<div class="panel2">
		<div class="panel panel-danger">
			<div class="panel-header">半决赛</div>
			<div class="panel-body">
				<table class="table table-border">
					<tr class=" text-c">
						<th>组名</th>
						<th>主队</th>
						<th></th>
						<th>客队</th>
						<th>比赛时间</th>
					</tr>
					<c:forEach items="${list2 }" var="item">

						<tr class=" text-c">
							<td>${item.sortName}</td>
							<td><img width="100" height="100" src="${item.homePicUrl}"> ${item.homeTeam}
								<h3>${item.homeScore}</h3></td>
							<td>VS</td>
							<td> ${item.visitingTeam} <img width="100" height="100" src="${item.visitingPicUrl}">
								<h3>${item.visitingScore}</h3>
							</td>
							<td><fmt:formatDate value="${item.createTime}"
									pattern="yyyy-MM-dd HH:mm" /></td>
						</tr>
					</c:forEach>
				</table>
			</div>
		</div>
	</div>
	
	<div class="panel2">
		<div class="panel panel-danger">
			<div class="panel-header">决赛</div>
			<div class="panel-body">
				<table class="table table-border">
					<tr class=" text-c">
						<th>组名</th>
						<th>主队</th>
						<th></th>
						<th>客队</th>
						<th>比赛时间</th>
					</tr>
					<c:forEach items="${list1 }" var="item">

						<tr class=" text-c">
							<td>${item.sortName}</td>
							<td><img width="100" height="100" src="${item.homePicUrl}"> ${item.homeTeam}
								<h3>${item.homeScore}</h3></td>
							<td>VS</td>
							<td> ${item.visitingTeam} <img width="100" height="100" src="${item.visitingPicUrl}">
								<h3>${item.visitingScore}</h3>
							</td>
							<td><fmt:formatDate value="${item.createTime}"
									pattern="yyyy-MM-dd HH:mm" /></td>
						</tr>
					</c:forEach>
				</table>
			</div>
		</div>
	</div>
<a href="${path}/common/redirect/login" target="black">后台管理</a>
</body>
</html>